package br.com.spring.mvc.controller;

import javax.validation.constraints.Size;

import org.springframework.stereotype.Component;

@Component
public class TesteClass {

	
	private String id = "Descricao";
	
	@Size(min=5)
	private String descricao = "Descricao";	
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDescricao() {
		return descricao;
	}

	public void setDescricao(String descricao) {
		this.descricao = descricao;
	}
	
	
}
